package com.iot.server.config;

import com.iot.core.mybatis.interceptor.ExecutorInterceptor;
import org.apache.ibatis.plugin.Interceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyBatisConfig {
    @Bean
    public Interceptor getInterceptor(){
        return new ExecutorInterceptor();
    }
}
